﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.ServiceProcess;
using System.Text;
using Boomerang.Service.Threading;

namespace Boomerang.Service
{
    public partial class BoomerangService : ServiceBase
    {
        private ServiceManager service;

        public BoomerangService()
        {
            InitializeComponent();
            service = new ServiceManager();
        }

        protected override void OnStart(string[] args)
        {            
            service.StartService();
        }

        protected override void OnStop()
        {
            service.StopService();
        }
    }
}
